package com.zzzy.doc.vo.document.process;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "获取合同可操作权限")
@Data
public class ProcessDocButtonRes {

    private boolean editFile;

    @Schema(description = "是否打开PDF最终文件")
    @JsonProperty("isOpenFinalPdf")
    private boolean openFinalPdf;

    @Schema(description = "是否有审核修订权限")
    @JsonProperty("isAudit")
    private boolean audit;

    @Schema(description = "是否有会签权限")
    @JsonProperty("isJointSign")
    private boolean jointSign;

    @Schema(description = "是否有领导签发权限")
    @JsonProperty("isLeaderSign")
    private boolean leaderSign;

    @Schema(description = "是否有签章权限")
    @JsonProperty("isSign")
    private boolean sign;

    @Schema(description = "是否有退回权限")
    @JsonProperty("isBack")
    private boolean back;
}
